
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for brokenRecordTypeType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="brokenRecordTypeType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="RecordData" type="{}recordBrokenDataType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Order" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
 *       &lt;attribute name="RecordType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Subcode" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Shared" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="NotEstablished" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="NotEstablishedLabel" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "brokenRecordTypeType", propOrder = {
    "recordData"
})
public class BrokenRecordTypeType {

    @XmlElement(name = "RecordData")
    protected List<RecordBrokenDataType> recordData;
    @XmlAttribute(name = "Order", required = true)
    protected int order;
    @XmlAttribute(name = "RecordType", required = true)
    protected String recordType;
    @XmlAttribute(name = "Subcode")
    protected String subcode;
    @XmlAttribute(name = "Shared", required = true)
    protected String shared;
    @XmlAttribute(name = "NotEstablished")
    protected String notEstablished;
    @XmlAttribute(name = "NotEstablishedLabel")
    protected String notEstablishedLabel;

    /**
     * Gets the value of the recordData property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the recordData property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRecordData().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link RecordBrokenDataType }
     * 
     * 
     */
    public List<RecordBrokenDataType> getRecordData() {
        if (recordData == null) {
            recordData = new ArrayList<RecordBrokenDataType>();
        }
        return this.recordData;
    }

    /**
     * Gets the value of the order property.
     * 
     */
    public int getOrder() {
        return order;
    }

    /**
     * Sets the value of the order property.
     * 
     */
    public void setOrder(int value) {
        this.order = value;
    }

    /**
     * Gets the value of the recordType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRecordType() {
        return recordType;
    }

    /**
     * Sets the value of the recordType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRecordType(String value) {
        this.recordType = value;
    }

    /**
     * Gets the value of the subcode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSubcode() {
        if (subcode == null) {
            return "";
        } else {
            return subcode;
        }
    }

    /**
     * Sets the value of the subcode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSubcode(String value) {
        this.subcode = value;
    }

    /**
     * Gets the value of the shared property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getShared() {
        return shared;
    }

    /**
     * Sets the value of the shared property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setShared(String value) {
        this.shared = value;
    }

    /**
     * Gets the value of the notEstablished property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNotEstablished() {
        if (notEstablished == null) {
            return "";
        } else {
            return notEstablished;
        }
    }

    /**
     * Sets the value of the notEstablished property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setNotEstablished(String value) {
        this.notEstablished = value;
    }

    /**
     * Gets the value of the notEstablishedLabel property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNotEstablishedLabel() {
        if (notEstablishedLabel == null) {
            return "";
        } else {
            return notEstablishedLabel;
        }
    }

    /**
     * Sets the value of the notEstablishedLabel property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setNotEstablishedLabel(String value) {
        this.notEstablishedLabel = value;
    }

}
